package com.netease.pris.activity.view;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.view.animation.AnimationUtils;
import android.widget.FrameLayout;

public class n
  implements Animation.AnimationListener
{
  FrameLayout a;
  View b;
  View c;
  w d;
  private Animation e;
  private Animation f;

  public n(Context paramContext, FrameLayout paramFrameLayout, View paramView)
  {
    this.a = paramFrameLayout;
    this.b = paramView;
    this.e = AnimationUtils.loadAnimation(paramContext, 2130968587);
    this.f = AnimationUtils.loadAnimation(paramContext, 2130968588);
    this.f.setAnimationListener(this);
  }

  public void a(View paramView)
  {
    this.c = paramView;
    paramView.bringToFront();
    paramView.startAnimation(this.e);
    paramView.setVisibility(0);
    if (this.b != null)
    {
      this.b.setVisibility(4);
      this.b.startAnimation(this.f);
    }
    while (true)
    {
      return;
      this.b = paramView;
    }
  }

  public void a(w paramw)
  {
    this.d = paramw;
  }

  public void onAnimationEnd(Animation paramAnimation)
  {
    this.b.clearAnimation();
    new Handler(Looper.getMainLooper()).post(new l(this, this.b));
    this.b = this.c;
  }

  public void onAnimationRepeat(Animation paramAnimation)
  {
  }

  public void onAnimationStart(Animation paramAnimation)
  {
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.n
 * JD-Core Version:    0.6.0
 */